h1 Listing sales_finance_infos

table
  thead
    tr
      th Name
      th Invoice type
      th Tax num
      th Bank name
      th Account num
      th Invoice address
      th Phone
      th Notes
      th Firm
      th As default
      th Active
      th
      th
      th

  tbody
    - @sales_finance_infos.each do |sales_finance_info|
      tr
        td = sales_finance_info.name
        td = sales_finance_info.invoice_type
        td = sales_finance_info.tax_num
        td = sales_finance_info.bank_name
        td = sales_finance_info.account_num
        td = sales_finance_info.invoice_address
        td = sales_finance_info.phone
        td = sales_finance_info.notes
        td = sales_finance_info.firm_id
        td = sales_finance_info.as_default
        td = sales_finance_info.active
        td = link_to 'Show', sales_finance_info
        td = link_to 'Edit', edit_sales_finance_info_path(sales_finance_info)
        td = link_to 'Destroy', sales_finance_info, data: { confirm: 'Are you sure?' }, method: :delete

br

= link_to 'New Finance info', new_sales_finance_info_path
